<template>
  <div style="width: 1000px;margin: 0 auto;height: 618px">

    <h3>平台公告</h3>
    <h2 style="text-align: center">{{ platformNotice.title }}</h2>
    <p>&nbsp;&nbsp;&nbsp;&nbsp;{{ platformNotice.substance }}</p>
    <br/>
    <br/>
    <br/>
    <br/>
    <p ><span style="float: right">便医通预约挂号统一平台</span></p>
    <br/>
    <p ><span style="float: right;font-size: 10px">{{platformNotice.createTime}}</span></p>
  </div>

</template>

<script>
import paltApi from "@/api/hosp/palt";


export default {
  data() {
    return {
      id: this.$route.params.show,
      platformNotice: {title:'aaa'}
    }
  },
  created() {
    console.log("id", this.$route.params.show)
    paltApi.getPlatById(this.id).then(response => {
      console.log("返回数据",response.data)
      this.platformNotice = response.data
    })
  },
  methods: {

  }
}
</script>

<style scoped>

</style>
